package java6681.single;

public class DemoGameBoss6681 {
    public static void main(String[] args) {
        GameBoss6681 boss1 = GameBoss6681.getInstance();
        GameBoss6681 boss2 = GameBoss6681.getInstance();
        GameBoss6681 boss3 = GameBoss6681.getInstance();
        boss1.addMoveSpeed(30);
        boss2.addMoveSpeed(20);
        boss3.addMoveSpeed(40);
        System.out.println(boss1.getMoveSpeed());
        System.out.println(boss2.getMoveSpeed());
        System.out.println(boss3.getMoveSpeed());
        System.out.println(boss1==boss2);
        System.out.println(boss1==boss3);
    }
}
